#include "golf.h"
#include <iostream>
#include <string>
using namespace std;

void main()
{
	golf ann;
	setgolf(ann, "Ann Birdfree", 24);
	showgolf(ann);

	golf g;
	setgolf(g);
	showgolf(g);

	cout << "reset ann's handicap to 23, input the new handicap for " 
			<< g.fullname << "'s handicap :_\b";
	int ct;
	cin >> ct;
	handicap(g,ct);
	handicap(ann, 23);
	cout << "after handicap() reset: " << endl;
	showgolf(ann);
	showgolf(g);

	system("pause");
}